package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.TFileInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 文件表
 *
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-07-11 14:44:00
 */
public interface TFileInfoService extends IService<TFileInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<TFileInfoEntity> queryFileInfoByCondition(TFileInfoEntity tFileInfoEntity);

    TFileInfoEntity getFileInfoByType(List<TFileInfoEntity> list, String purpose );

    int updateByDevId(TFileInfoEntity tFileInfoEntity);

    int updateFileValueByDevData(TFileInfoEntity tFileInfoEntity);

    List<TFileInfoEntity> getFileInfoByDev(List<String> devIds);
}

